﻿using System;

namespace Inovout.Data.Redis
{
    public class RedisTransaction : IDisposable
    {
        public RedisConnection Connection
        { get; private set; }
        internal RedisTransaction(RedisConnection connection)
        {
            Connection = connection;
        }

        public void Commit()
        {
            Connection.Executor.Flush();
        }
        public void Dispose()
        {
        }
    }
}
